package com.sky.service.admin;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.pojo.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishFlavorsVO;

import java.util.List;

public interface DishService {
    void saveDish(DishDTO dishDTO);

    void putDish(DishDTO dishDTO);

    Dish selectCategoryId(Long categoryId);

    void delectDishByIds(List<Long> ids);

    PageResult pageDish(DishPageQueryDTO pageQueryDTO);

    DishFlavorsVO selectDishWithFlavor(Long id);
}
